package com.hkemmm.shop.service;

import com.hkemmm.shop.entity.*;

import java.util.List;

public interface IAddressService {
    int deleteByPrimaryKey(Integer id);

    List<Provinces> getAllProvinces();

    List<Cities> getAllCities(String pid);

    List<Areas> getAllAreas(String cid);

    Addreas selectByPrimaryKey(Integer id);

    List<AddressInfo> getAddressInfo(Integer uid);

    int insertSelective(Addreas record);

    int updateByPrimaryKeySelective(Addreas record);

    int setDefault(Integer id);

    int setAllAddresDefault(Integer uid);

    Addreas getOneAddress(Integer uid);

    int addresNum(Integer uid);
}
